<template>
  <div>
    <div class="top">
      <span>直播回顾</span>
    </div>
    <div class="alertInfo">（如果视频加载失败，请刷新当前页面~）</div>
    <div class="bottom">
      <video
        id="my_video_1"
        class="video-js vjs-default-skin"
        controls
        preload="auto"
        width="1200"
        height="480"
        data-setup="{}"
      >
        <source
          src="https://dar-1305869431.cos.ap-shanghai.myqcloud.com/m3u8/1.m3u8"
          type="application/x-mpegURL"
        />
      </video>
    </div>
  </div>
</template>

<script>
import overView from "../components/overView.vue";
export default {
  components: {
    overView,
  },
};
</script>

<style lang="less" scoped>
* {
  box-sizing: border-box;
}

.top {
  width: 1200px;
  user-select: none;
  margin: auto;
  height: 58px;
  margin-top: 20px;
  margin-bottom: 16px;
  background-color: pink;
  span {
    display: inline-block;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    line-height: 58px;
  }
}
.alertInfo {
  margin: 10px auto;
  font-size: 12px;
  color: #787878;
}

.bottom {
  display: flex;
  flex-wrap: wrap;
  width: 1200px;
  height: 497px;
  margin: auto;
  border: 8px solid #ffeded;
  margin-bottom: 40px;
}
</style>
